package model.grant;

import java.sql.Timestamp;

/**
 * Customgrant entity. @author MyEclipse Persistence Tools
 */

public class Customgrant implements java.io.Serializable {

	// Fields

	private Integer id;
	private Integer customid;
	private String customtype;
	private Double grantmoney;
	private Double usedmoney;
	private Timestamp startdate;
	private Timestamp enddate;
	private String note;
	private Integer clerkid;
	private Timestamp createtime;

	// Constructors

	/** default constructor */
	public Customgrant() {
	}

	/** full constructor */
	public Customgrant(Integer customid, String customtype, Double grantmoney,
			Double usedmoney, Timestamp startdate, Timestamp enddate,
			String note, Integer clerkid, Timestamp createtime) {
		this.customid = customid;
		this.customtype = customtype;
		this.grantmoney = grantmoney;
		this.usedmoney = usedmoney;
		this.startdate = startdate;
		this.enddate = enddate;
		this.note = note;
		this.clerkid = clerkid;
		this.createtime = createtime;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getCustomid() {
		return this.customid;
	}

	public void setCustomid(Integer customid) {
		this.customid = customid;
	}

	public String getCustomtype() {
		return this.customtype;
	}

	public void setCustomtype(String customtype) {
		this.customtype = customtype;
	}

	public Double getGrantmoney() {
		return this.grantmoney;
	}

	public void setGrantmoney(Double grantmoney) {
		this.grantmoney = grantmoney;
	}

	public Double getUsedmoney() {
		return this.usedmoney;
	}

	public void setUsedmoney(Double usedmoney) {
		this.usedmoney = usedmoney;
	}

	public Timestamp getStartdate() {
		return this.startdate;
	}

	public void setStartdate(Timestamp startdate) {
		this.startdate = startdate;
	}

	public Timestamp getEnddate() {
		return this.enddate;
	}

	public void setEnddate(Timestamp enddate) {
		this.enddate = enddate;
	}

	public String getNote() {
		return this.note;
	}

	public void setNote(String note) {
		this.note = note;
	}

	public Integer getClerkid() {
		return this.clerkid;
	}

	public void setClerkid(Integer clerkid) {
		this.clerkid = clerkid;
	}

	public Timestamp getCreatetime() {
		return this.createtime;
	}

	public void setCreatetime(Timestamp createtime) {
		this.createtime = createtime;
	}

	@Override
	public String toString() {
		return "Customgrant [id=" + id + ", customid=" + customid
				+ ", customtype=" + customtype + ", grantmoney=" + grantmoney
				+ ", usedmoney=" + usedmoney + ", startdate=" + startdate
				+ ", enddate=" + enddate + ", note=" + note + ", clerkid="
				+ clerkid + ", createtime=" + createtime + "]";
	}

}